/* 
2022.5.17
阿里订单退款控制类

*/
import http from "../request.js";

// 获取退款订单列表
export function selectAliRefundOrder(data) {
	return http.request({
		url: "/admin/cancelOrder/selectAliRefundOrder",
		method: "post",
		data,
	});
}


// 生成订单信息
export function aliPay(data) {
	return http.request({
		url: "/user/ali/healthy/aliPay",
		method: "get",
		data,
	});
}

// 接收支付宝回调信息
export function notify_url(data) {
	return http.request({
		url: "/user/ali/healthy/notify_url",
		method: "get",
		data,
	});
}

// 取消预约
export function reserveCancel(data) {
	return http.request({
		url: "/user/ali/healthy/reserveCancel",
		method: "get",
		data,
	});
}

// 预约下单
export function reserveConfirm(data) {
	return http.request({
		url: "/user/ali/healthy/reserveConfirm",
		method: "post",
		data,
	});
}

// 查看预约状态
export function reserveState(data) {
	return http.request({
		url: "/user/ali/healthy/reserveState",
		method: "post",
		data,
	});
}

// 查看上门服务范围
export function serviceAreaCheck(data) {
	return http.request({
		url: "/user/ali/healthy/serviceAreaCheck",
		method: "get",
		data,
	});
}